package main

import (
	"sync"
	. "./util"
	"log"
	"os"
)

func main() {
	name := os.Args[1]

	if name == "s" {
		T_clock2_multiple_routine()
		//T_clock1()
	} else if name == "c1" {
		T_netcat1()
	} else if name == "c2" {
		T_netcat2()
	} else if name == "c3" {
		T_netcat3()
	} else if name == "echo" {
		T_echo_server()
	} else if name == "p1" {
		T_pipeline1()
	} else if name == "p3" {
		T_pipeline3()
	} else {
		log.Fatal("no such command")
	}

}
